<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 5162 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 5162 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/noi18std/index.html'> noi18std </a> </td>
<td> <a href='/problem/noi18e/index.html'> noi18e. 【NOI2018】情报中心 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 3.338 s </td>
<td style='font-size:13px'> 149 MB + 496 KB </td>
<td style='font-size:13px'> C++11 </td>
<td style='font-size:13px'> 6.23 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2018-08-08 21:52:07 </td>
<td style='font-size:13px'> 2019-01-19 09:48:50 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include &lt;bits/stdc++.h&gt;

namespace __main__ {

	namespace io {
		const int Buff = 1 &lt;&lt; 15;
		char B[Buff], *S = B, *T = B;
	}
	template&lt;class Type&gt; inline Type read() {
		using namespace io;
		#define getc() ((S == T) &amp;&amp; (T = (S = B) + fread(B, 1, Buff, stdin), S == T) ? 0 : *S++)
		char ch; Type ans = 0; bool neg = 0;
		while(ch = getc(), (ch &lt; &#x27;0&#x27; || ch &gt; &#x27;9&#x27;) &amp;&amp; ch != &#x27;-&#x27;)	;
		ch == &#x27;-&#x27; ? neg = 1 : ans = ch - &#x27;0&#x27;;
		while(ch = getc(), &#x27;0&#x27; &lt;= ch &amp;&amp; ch &lt;= &#x27;9&#x27;) ans = ans * 10 + ch - &#x27;0&#x27;;
		return neg ? -ans : ans;
	}

	using ll = long long;
	const ll inf = 1000000000000000000ll;
	const ll mov = 10000000000000000ll;
	const int MAX_N = 100010;
	template&lt;class T&gt; constexpr T dmax(T a, T b) {return a &gt; b ? a : b;}
	template&lt;class T&gt; constexpr T dmin(T a, T b) {return a &lt; b ? a : b;}
	template&lt;class T&gt; inline bool cmax(T&amp; a, T b) {return a &lt; b ? a = b, 1 : 0;}
	template&lt;class T&gt; inline bool cmin(T&amp; a, T b) {return a &gt; b ? a = b, 1 : 0;}

	int N;
	struct Edge{int to, len;};
	std::vector&lt;Edge&gt; adj[MAX_N];

	template&lt;class T&gt; void reinit(T&amp; t) {t.~T(); new(&amp;t) T;}
	ll ans, dis[MAX_N];

	inline void cans(ll v) {
		cmax(ans, v);
///*bgg*/printf(&quot;cans %lld\n&quot;, v); assert(v&lt;=46);
	}

	namespace Tree {
		int fa[MAX_N], dep[MAX_N], top[MAX_N];
		int dfs_init(int i, int f) {
			fa[i] = f; top[i] = i;
			dep[i] = dep[f] + 1; 
			int cnt = 1, cho = 0, cho_cnt = 0;
			for(auto k : adj[i]) if(k.to != f) {
				dis[k.to] = dis[i] + k.len;
				int tmp = dfs_init(k.to, i);
				cnt += tmp;
				if(cmax(cho_cnt, tmp)) cho = k.to;
			}
			top[cho] = i;
			return cnt;
		}
		void dfs_make(int i, int f) {
			top[i] = top[top[i]];
			for(auto k : adj[i]) if(k.to != f)
				dfs_make(k.to, i);
		}
		inline void __init__() {dfs_init(1, 0); dfs_make(1, 0);}
	}
	int lca(int x, int y) {
		using namespace Tree;
		while(top[x] != top[y])
			dep[top[x]] &gt; dep[top[y]]
				? x = fa[top[x]] : y = fa[top[y]];
		return dep[x] &lt; dep[y] ? x : y;
	}

	struct Node
	{
		Node *l, *r;
		ll max0, max1;	
	}	mem[MAX_N * 44], *null, *tot, *P[MAX_N];

	int arg_p; ll arg_max0, arg_max1, arg_mov;
	Node* build(int l, int r) {
		Node *p = ++tot;
		p-&gt;max0 = arg_max0; p-&gt;max1 = arg_max1;
		if(l != r) {
			int m = (l + r) &gt;&gt; 1;
			if(arg_p &lt;= m) {p-&gt;l = build(l, m); p-&gt;r = null;}
			else {p-&gt;l = null; p-&gt;r = build(m + 1, r);}
		}
		return p;
	}
	void merge(Node* &amp;a, Node *b, int l, int r, ll lmax0, ll rmax1) {
		if(b == null) return;
		if(l == r || a == null) {
			if(a == null) a = b;
			else {cmax(a-&gt;max0, b-&gt;max0); cmax(a-&gt;max1, b-&gt;max1);}
///*bgg*/printf(&quot;merge [%d, %d] max = %lld %lld b = %lld %lld\n&quot;, l,r,lmax0,rmax1,b-&gt;max0,b-&gt;max1);
			cans(lmax0 + b-&gt;max1 - arg_mov);
			cans(b-&gt;max0 + rmax1 - arg_mov);
			return;
		}
		int m = (l + r) &gt;&gt; 1; ll m0 = a-&gt;l-&gt;max0, m1 = a-&gt;r-&gt;max1; 
		merge(a-&gt;l, b-&gt;l, l, m + 0, lmax0, dmax(rmax1, m1));
		merge(a-&gt;r, b-&gt;r, m + 1, r, dmax(lmax0, m0), rmax1);
		a-&gt;max0 = dmax(a-&gt;l-&gt;max0, a-&gt;r-&gt;max0);
		a-&gt;max1 = dmax(a-&gt;l-&gt;max1, a-&gt;r-&gt;max1);
///*bgg*/printf(&quot;pushup [%d, %d] max = %lld %lld\n&quot;,l,r,a-&gt;max0,a-&gt;max1 );
	}
	void remove(Node*&amp; p, int l, int r) {
		if(p == null) return;
		if(l == r) p = null;
		else {
			int m = (l + r) &gt;&gt; 1;
			if(arg_p &lt;= m) remove(p-&gt;l, l, m);
			else remove(p-&gt;r, m + 1, r);
			p-&gt;max0 = dmax(p-&gt;l-&gt;max0, p-&gt;r-&gt;max0);
			p-&gt;max1 = dmax(p-&gt;l-&gt;max1, p-&gt;r-&gt;max1);
		}
	}

	struct Info {
		ll ext; int pos;
		inline ll operator + (const Info&amp; inf) const {
			return ext + inf.ext - (dis[lca(pos, inf.pos)] &lt;&lt; 1);
		}
	}	pinf[MAX_N &lt;&lt; 1];

	struct Data {
		int x, y; ll v;
		inline Data() : x(0), y(0), v(-inf) {}
		inline Data(const Data&amp; D) : x(D.x), y(D.y), v(D.v) {}
		inline Data(int x, int y, ll v) : x(x), y(y), v(v) {}
		inline void operator += (const Data&amp; D) {
			if(D.v &lt; 0) return;
			if(v &lt; 0) return void(*this = D);
///*bgg*/printf(&quot;merge %d~%d %d~%d\n&quot;,x,y,D.x,D.y);
			int X = x, Y = y; ll tmp;
			if(cmax(v, D.v)) {X = D.x; Y = D.y;}
			tmp = pinf[x] + pinf[D.x]; cans((tmp - arg_mov) &gt;&gt; 1); if(cmax(v, tmp)) {X = x; Y = D.x;}
			tmp = pinf[x] + pinf[D.y]; cans((tmp - arg_mov) &gt;&gt; 1); if(cmax(v, tmp)) {X = x; Y = D.y;}
			tmp = pinf[y] + pinf[D.x]; cans((tmp - arg_mov) &gt;&gt; 1); if(cmax(v, tmp)) {X = y; Y = D.x;}
			tmp = pinf[y] + pinf[D.y]; cans((tmp - arg_mov) &gt;&gt; 1); if(cmax(v, tmp)) {X = y; Y = D.y;}
			x = X; y = Y;
		}
	};

	std::unordered_map&lt;int, Data&gt; Q[MAX_N];

	void dfs_sol(int i, int fa) {
		for(auto k : adj[i]) if(k.to != fa) {
			dfs_sol(k.to, i);

///*bgg*/printf(&quot;mergesub %d &lt;- %d\n&quot;,i,k.to);
			arg_p = Tree::dep[i];
			remove(P[k.to], 1, N);
			arg_mov = dis[i];
			merge(P[i], P[k.to], 1, N, -inf, -inf);

			if(Q[k.to].size() &gt; Q[i].size()) Q[i].swap(Q[k.to]);
			arg_mov = dis[i] &lt;&lt; 1;
			for(auto c : Q[k.to]) Q[i][c.first] += c.second;
			reinit(Q[k.to]);
			Q[i].erase(i);
		}
///*bgg*/printf(&quot;dfs_sol ret i = %d\n&quot;, i);
	}

	void __main__() {
		int C = read&lt;int&gt;();
		null = mem;
		*null = {null, null, -inf, -inf};
		while(C--) {
			N = read&lt;int&gt;();
			ans = -3 * inf;
			tot = mem;
			for(int i = 1; i &lt;= N; ++i) {
				P[i] = null;
				reinit(adj[i]);
			}
			for(int i = 1; i &lt; N; ++i) {
				int a = read&lt;int&gt;(), b = read&lt;int&gt;(), v = read&lt;int&gt;();
				adj[a].push_back({b, v});
				adj[b].push_back({a, v});
			}
			Tree::__init__();
			int M = read&lt;int&gt;();
			for(int i = 1; i &lt;= M; ++i) {
				int x = read&lt;int&gt;(), y = read&lt;int&gt;(), z; ll v = read&lt;ll&gt;(), w; 
				v = mov - v;
				w = v;
				z = lca(x, y);
				v += dis[x] + dis[y] - (dis[z] &lt;&lt; 1);

///*bgg*/printf(&quot;chain[%d] %d ~ %d v = %lld\n&quot;, i, x, y, v);

				arg_p = Tree::dep[z];
				arg_max0 = v; arg_max1 = v + dis[z];
///*bgg*/printf(&quot;step1 arg_p = %d max = %lld %lld\n&quot;,arg_p,arg_max0,arg_max1);
				if(x != z) {arg_mov = dis[x]; merge(P[x], build(1, N), 1, N, -inf, -inf);}
				if(y != z) {arg_mov = dis[y]; merge(P[y], build(1, N), 1, N, -inf, -inf);}

				v += w + dis[x] + dis[y];
///*bgg*/printf(&quot;step2 v = %lld\n&quot;,v);
				int Px = i &lt;&lt; 1, Py = i &lt;&lt; 1 | 1;
				pinf[Px] = {v, x}; pinf[Py] = {v, y};
				if(x != z) {arg_mov = dis[x] &lt;&lt; 1; Q[x][z] += Data(Py, Py, 0);}
				if(y != z) {arg_mov = dis[y] &lt;&lt; 1; Q[y][z] += Data(Px, Px, 0);}
///*bgg*/puts(&quot;&quot;);
			}
			dfs_sol(1, 0);
			reinit(Q[1]);
			if(ans &lt;= -inf / 2) std::cout &lt;&lt; &quot;F&quot; &lt;&lt; std::endl;
			else std::cout &lt;&lt; ans - mov * 2 &lt;&lt; std::endl;
		}
	}
}

int main() {
	std::ios::sync_with_stdio(0);
	std::cin.tie(0); std::cout.tie(0);
	__main__::__main__();
}</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">2.545 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 928 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2.544822
mem_kb = 4000
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #2</b></td><td class="col-xs-2" style="vertical-align:middle">2.919 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 980 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_3" aria-expanded="false" aria-controls="detail_3">显示更多</a></td></tr></table></div><div class="collapse" id="detail_3"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2.919369
mem_kb = 4052
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #3</b></td><td class="col-xs-2" style="vertical-align:middle">9.092 ms</td><td class="col-xs-2" style="vertical-align:middle">4 MB + 548 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a></td></tr></table></div><div class="collapse" id="detail_4"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 9.092343
mem_kb = 4644
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #4</b></td><td class="col-xs-2" style="vertical-align:middle">76.657 ms</td><td class="col-xs-2" style="vertical-align:middle">9 MB + 548 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_5" aria-expanded="false" aria-controls="detail_5">显示更多</a></td></tr></table></div><div class="collapse" id="detail_5"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 76.657342
mem_kb = 9764
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #5</b></td><td class="col-xs-2" style="vertical-align:middle">1.76 s</td><td class="col-xs-2" style="vertical-align:middle">79 MB + 252 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_6" aria-expanded="false" aria-controls="detail_6">显示更多</a></td></tr></table></div><div class="collapse" id="detail_6"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1759.785775
mem_kb = 81148
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #6</b></td><td class="col-xs-2" style="vertical-align:middle">3.338 s</td><td class="col-xs-2" style="vertical-align:middle">149 MB + 496 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a>
<a class="54284b37a1fd417bbba180058c9be00f" href="http://www.iis7.com" target="_blank" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;">iis7站长之家</a></td></tr></table></div><div class="collapse" id="detail_7"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 3338.038751
mem_kb = 153072
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #7</b></td><td class="col-xs-2" style="vertical-align:middle">842.974 ms</td><td class="col-xs-2" style="vertical-align:middle">49 MB + 292 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_8" aria-expanded="false" aria-controls="detail_8">显示更多</a></td></tr></table></div><div class="collapse" id="detail_8"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 842.974160
mem_kb = 50468
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #8</b></td><td class="col-xs-2" style="vertical-align:middle">1.47 s</td><td class="col-xs-2" style="vertical-align:middle">100 MB + 304 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_9" aria-expanded="false" aria-controls="detail_9">显示更多</a></td></tr></table></div><div class="collapse" id="detail_9"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1469.622632
mem_kb = 102704
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #9</b></td><td class="col-xs-2" style="vertical-align:middle">1.509 s</td><td class="col-xs-2" style="vertical-align:middle">98 MB + 512 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_10" aria-expanded="false" aria-controls="detail_10">显示更多</a></td></tr></table></div><div class="collapse" id="detail_10"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1508.828360
mem_kb = 100864
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #10</b></td><td class="col-xs-2" style="vertical-align:middle">381.217 ms</td><td class="col-xs-2" style="vertical-align:middle">38 MB + 568 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_11" aria-expanded="false" aria-controls="detail_11">显示更多</a></td></tr></table></div><div class="collapse" id="detail_11"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 381.217032
mem_kb = 39480
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #11</b></td><td class="col-xs-2" style="vertical-align:middle">784.041 ms</td><td class="col-xs-2" style="vertical-align:middle">83 MB + 64 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_12" aria-expanded="false" aria-controls="detail_12">显示更多</a></td></tr></table></div><div class="collapse" id="detail_12"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 784.040948
mem_kb = 85056
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #12</b></td><td class="col-xs-2" style="vertical-align:middle">827.454 ms</td><td class="col-xs-2" style="vertical-align:middle">83 MB + 912 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_13" aria-expanded="false" aria-controls="detail_13">显示更多</a></td></tr></table></div><div class="collapse" id="detail_13"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 827.453949
mem_kb = 85904
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #13</b></td><td class="col-xs-2" style="vertical-align:middle">1.297 s</td><td class="col-xs-2" style="vertical-align:middle">43 MB + 544 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_14" aria-expanded="false" aria-controls="detail_14">显示更多</a></td></tr></table></div><div class="collapse" id="detail_14"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1297.370281
mem_kb = 44576
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #14</b></td><td class="col-xs-2" style="vertical-align:middle">1.289 s</td><td class="col-xs-2" style="vertical-align:middle">43 MB + 452 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_15" aria-expanded="false" aria-controls="detail_15">显示更多</a></td></tr></table></div><div class="collapse" id="detail_15"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1288.705276
mem_kb = 44484
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #15</b></td><td class="col-xs-2" style="vertical-align:middle">1.746 s</td><td class="col-xs-2" style="vertical-align:middle">98 MB + 48 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a></td></tr></table></div><div class="collapse" id="detail_16"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1745.696707
mem_kb = 100400
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #16</b></td><td class="col-xs-2" style="vertical-align:middle">1.647 s</td><td class="col-xs-2" style="vertical-align:middle">91 MB + 792 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_17" aria-expanded="false" aria-controls="detail_17">显示更多</a></td></tr></table></div><div class="collapse" id="detail_17"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1646.916887
mem_kb = 93976
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #17</b></td><td class="col-xs-2" style="vertical-align:middle">801.6 ms</td><td class="col-xs-2" style="vertical-align:middle">49 MB + 460 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_18" aria-expanded="false" aria-controls="detail_18">显示更多</a></td></tr></table></div><div class="collapse" id="detail_18"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 801.600108
mem_kb = 50636
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #18</b></td><td class="col-xs-2" style="vertical-align:middle">1.418 s</td><td class="col-xs-2" style="vertical-align:middle">99 MB + 884 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_19" aria-expanded="false" aria-controls="detail_19">显示更多</a></td></tr></table></div><div class="collapse" id="detail_19"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1417.656505
mem_kb = 102260
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #19</b></td><td class="col-xs-2" style="vertical-align:middle">1.181 s</td><td class="col-xs-2" style="vertical-align:middle">102 MB + 240 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_20" aria-expanded="false" aria-controls="detail_20">显示更多</a></td></tr></table></div><div class="collapse" id="detail_20"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1181.432376
mem_kb = 104688
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #20</b></td><td class="col-xs-2" style="vertical-align:middle">1.135 s</td><td class="col-xs-2" style="vertical-align:middle">104 MB + 840 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_21" aria-expanded="false" aria-controls="detail_21">显示更多</a></td></tr></table></div><div class="collapse" id="detail_21"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1134.834835
mem_kb = 107336
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:15:39 | Loaded in 1 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
